package interview1719;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class View1719 implements IDebug {
	public abstract int[] missingTwo(int[] nums);

	@Override
	public void debug1() {
		String str1 = "[1]";
		String str2 = "[2,3]";
		debug(str1, str2);
	}

	private void debug(String str1, String str2) {
		int[] nums = HelpDebug.str2array3(str1);
		int[] e = HelpDebug.str2array3(str2);
		int[] r = this.missingTwo(nums);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		String str1 = "[2,3]";
		String str2 = "[1,4]";
		debug(str1, str2);
	}

	@Override
	public void debug3() {
		String str1 = "[1,3,5,6]";
		String str2 = "[2,4]";
		debug(str1, str2);
	}

	@Override
	public void debug4() {
		String str1 = "[3]";
		String str2 = "[1,2]";
		debug(str1, str2);
	}

}
